import request from '@/utils/request'

export function getmytarget (params) {
  return request({
    url: '/admin/get_personal_target',
    method: 'get',
    params: params
  })
}
export function doupdatepersonaltarget (params) {
  return request({
    url: '/admin/update_personal_target',
    method: 'post',
    params: params
  })
}
export function getgrouptarget (params) {
  return request({
    url: '/admin/get_group_target',
    method: 'get',
    params: params
  })
}
export function doupdategrouptarget (params) {
  return request({
    url: '/admin/update_group_target',
    method: 'post',
    params: params
  })
}
export function getusserphone (params) {
  return request({
    url: '/admin/get_user_phone',
    method: 'get',
    params: params
  })
}
export function dochangepass (params) {
  return request({
    url: '/admin/update_user_password',
    method: 'post',
    params: params
  })
}
export function doeditphoneinfo (params) {
  return request({
    url: '/admin/bind_phone_info',
    method: 'post',
    params: params
  })
}
export function doupdateuserimg (params) {
  return request({
    url: '/admin/update_user_img',
    method: 'post',
    params: params
  })
}
